package entity;

public class BookType {
    private  Integer id;
    private  String type;
    private Integer parent;

    public BookType(Integer id, String type, Integer parent) {
        this.id = id;
        this.type = type;
        this.parent = parent;
    }

    @Override
    public String toString() {
        return "BookType{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", parent=" + parent +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public BookType() {
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getParent() {
        return parent;
    }

    public void setParent(Integer parent) {
        this.parent = parent;
    }
}
